﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Main.Master" CodeFile="Login.aspx.cs" Inherits="Web.LoginPage" %>
<asp:Content ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
.B_title
{
  font-family:SimSun;
  font-size:10pt;
  font-weight:600;
  color:#660000 ;
}

.text
{
 font-weight:600;	
 font-size:9pt;
}

.word
{
 font-size:9pt;
 padding-left:15px;	
 height:25px;
 background-image:url('<%=this.ResolveUrl("~/Images/Login/ma.gif")%>');
 background-position:left;
 background-repeat:no-repeat;
}


</style>
</asp:Content>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table border="0" cellpadding="0"  width="819px" cellspacing="0" style=" font-size:9pt;" >
        <tr>
            <td colspan="3">
                <asp:Label ID="lblinfo" runat="server" Visible="false"></asp:Label>
            </td></tr><tr>
            <td align="right">
                <table    border="0" width="340px" cellpadding="0" cellspacing="0">
                    <tbody>
                        <tr>
                          <td width="10"><img src="Images/Login/lt.gif" runat="server"/></td><td bgcolor="#6f97c4" height="28" nowrap="nowrap"  style=" vertical-align:middle;" valign="bottom" width="20%"><span class="B_title">登录GoShopping&nbsp;&nbsp;</span></td><td align="right" bgcolor="#6f97c4" valign="bottom" width="79%">&nbsp;</td><td width="10"><img src="Images/Login/rt.gif" runat="server"/></td></tr><tr>
                            <td width="10" bgcolor="#6f97c4"></td>
                            <td colspan="2" style="height:260px ; padding-left:20px; padding-top:5px; text-align:left; vertical-align:text-top; background-image:url('<%=this.ResolveUrl("~/Images/Login/logindec.jpg")%>'); background-repeat:no-repeat;background-position:right;">                               
                                 
                                  <asp:Login ID="Login1" runat="server" onloggedin="Login1_LoggedIn">
                                      <LayoutTemplate>
                                          <table border="0" cellpadding="1" cellspacing="0" 
                                              style="border-collapse: collapse; ">
                                                                                           <tr>
                                                  <td>
                                                      <table border="0" width="100%" cellpadding="0">
                                                          <tr style=" height:50px; vertical-align:top;" >
                                                              <td align="center" colspan="2" style=" text-align:left; font-size:9pt;  font-weight:600; color:#E47911;">
                                                                  请您从这里登录</td>
                                                          </tr>
                                                          <tr>
                                                              <td align="right">
                                                                  <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName"><span class="text">用户名:</span></asp:Label>
                                                              </td>
                                                              <td>
                                                                  <asp:TextBox ID="UserName" runat="server" Width="128px"></asp:TextBox>
                                                                  <asp:RequiredFieldValidator ID="UserNameRequired" runat="server"  
                                                                      ControlToValidate="UserName" ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" 
                                                                      ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                                              </td>
                                                          </tr>
                                                          <tr>
                                                              <td align="right">
                                                                  <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password"><span class="text">密&nbsp;&nbsp;&nbsp;码:</span></asp:Label>
                                                              </td>
                                                              <td>
                                                                  <asp:TextBox ID="Password" runat="server" TextMode="Password" Width="128px"></asp:TextBox>
                                                                  <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                                                      ControlToValidate="Password" ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" 
                                                                      ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                                              </td>
                                                          </tr>
                                                          <tr>
                                                              <td colspan="2">
                                                                  <%--<asp:CheckBox ID="RememberMe" runat="server" Text="下次记住我。" />--%>
                                                                  <asp:CheckBox ID="RememberMe" runat="server"  Font-Size="9pt"  ForeColor="#0000FF" Text="下次记住我"  />
                                                              </td>
                                                          </tr>
                                                          <tr>
                                                              <td colspan="2" style=" padding-left:25px;">
                                                                 
                                                                  <asp:LinkButton ID="passwordForget" runat="server" 
                                                                      PostBackUrl="~/GetPassword.aspx"><span style=" font-size:9pt;">忘记密码？</span></asp:LinkButton>
                                                                 
                                                              </td>
                                                          </tr>
                                                          <tr>
                                                              <td align="center" colspan="2" style="color: Red;">
                                                                  <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                                              </td>
                                                          </tr>
                                                          <tr>
                                                              <td style=" text-align:right; padding-right:20px;" colspan="2">
                                                                  <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="登录" 
                                                                      ValidationGroup="Login1" Font-Size="9pt" Width="72px" />
                                                              </td>
                                                          </tr>
                                                      </table>
                                                  </td>
                                              </tr>
                                          </table>
                                      </LayoutTemplate>
                                  </asp:Login>
                                <br />
                                <h3>------------------------------------------<br />
                               <span style=" font-size:8pt;">如果您有任何疑问，请联系<a href="#" class="ablue1">帮助中心</a>或<a href="#" class="ablue1">联系客服</a></span> 
                            </td>
                            <td width="10" bgcolor="#6f97c4">
                                <%--<asp:LoginName ID="LoginName1" runat="server" />--%>
                            </td>
                        </tr>
                    </tbody>
                </table>   
                <table bgcolor="#6f97c4" border="0" cellpadding="0" cellspacing="0" width="340px">
                    <tbody>
                      <tr valign="bottom">
                        <td align="left" bgcolor="#6f97c4" height="10"><img alt="" src="~/Images/Login/ld.gif"  runat="server"></td><td align="right" bgcolor="#6f97c4" height="10"><img  alt="" src="Images/login/rd.gif" runat="server" /></td></tr></tbody></table></td><td></td>
            <td align="left">
                    
                  <table border="0" width="340px"  style=" margin-left:50px; " cellpadding="0" cellspacing="0">
                    <tbody>
                        <tr>
                          <td width="10"><img src="Images/Login/lt.gif"  runat="server"></td><td bgcolor="#6f97c4" height="28" nowrap="nowrap" valign="middle"  width="20%"><span class="B_title">新用户注册</span></td><td align="right" bgcolor="#6f97c4" valign="bottom" width="79%">&nbsp;</td><td width="10"><img src="Images/Login/rt.gif" runat="server"></td></tr><tr>
                            <td width="10" bgcolor="#6f97c4" rowspan="10"></td>
                            <td colspan="2"  style=" padding-left:20px; padding-top:5px; text-align:left; vertical-align:top; height:50px ;font-size:9pt;  font-weight:600; color:#E47911;" >                                
                                <span class="text">尊敬的用户，欢迎您注册GoShopping </span>
                            </td>
                           <%-- <asp:Button ID="BtnCreateUser" Text="新用户注册" runat="server"  onclick="BtnCreateUser_Click"  />--%>
                            <td width="10" bgcolor="#6f97c4" rowspan="10"></td>
                        </tr>
                        <tr>
                            <td colspan="2"  class="word">                                
                                在这里，您将享受到专业人员免费上门送货、服务</td>
                        </tr>
                        <tr>
                            <td colspan="2"  class="word">                                
                                在这里，您可在签收商品时二次选择商品的颜色、款式</td>
                        </tr>
                        <tr>
                            <td colspan="2"  class="word">                                
                                在这里，您可零距离领略全球时尚浪潮的超凡魅力</td>
                        </tr>
                        <tr>
                            <td colspan="2"  class="word">                                
                                在这里，您将享受信息化时代最尊贵的客户服务</td>
                        </tr>
                        <tr>
                            <td colspan="2"  class="word">                                
                                在这里，您将感受服务、质量、信誉的全新诠释</td>
                        </tr>
                        <tr>
                            <td colspan="2"  style="height:30px" align="right">                                
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td colspan="2"  style="height:30px; text-align:right; padding-right:30px;" >                                
                                <asp:Button ID="BtnCreateUser" Text="新用户注册" runat="server"  
                                    onclick="BtnCreateUser_Click" Font-Size="9pt"  /></td>
                        </tr>
                        <tr>
                            <td colspan="2"  style="height:10px" align="right">                                
                                </td>
                        </tr>
                        <tr>
                            <td colspan="2"  style="height:15px" align="right">                                
                                </td>
                        </tr>
                    </tbody>
                </table>   
                <table bgcolor="#6f97c4" border="0" style=" margin-left:50px;" cellpadding="0" cellspacing="0" width="340px">
                    <tbody>
                      <tr valign="bottom">
                        <td align="left" bgcolor="#6f97c4" height="10"><img src="Images/Login/ld.gif"  runat="server"></td><td align="right" bgcolor="#6f97c4" height="10"><img src="Images/Login/rd.gif"  runat="server"></td></tr></tbody></table></td>
       </tr>
        
     </table>
   </asp:Content>